home *** CD-ROM | disk | FTP | other *** search
- on beginSprite me
- if (the desktopRectList)[1] = rect(0, 0, 1024, 768) then
- set the width of sprite 2 to 1024
- set the height of sprite 2 to 768
- set the locH of sprite 2 to 512
- set the locV of sprite 2 to 384
- else
- if (the desktopRectList)[1] = rect(0, 0, 800, 600) then
- set the width of sprite 2 to 800
- set the height of sprite 2 to 600
- set the locH of sprite 2 to 511
- set the locV of sprite 2 to 383
- else
- if (the desktopRectList)[1] = rect(0, 0, 640, 480) then
- set the width of sprite 2 to 640
- set the height of sprite 2 to 480
- set the locH of sprite 2 to 511
- set the locV of sprite 2 to 383
- end if
- end if
- end if
- end
-